package com.xk857.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CV大魔王
 * @since 2021-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("school_card")
@ApiModel(value="Card对象", description="")
public class Card implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "卡号")
    private String cardNum;

    @ApiModelProperty(value = "捡卡人id")
    private String userId;

    @ApiModelProperty(value = "捡卡人昵称")
    private String nickName;

    @ApiModelProperty(value = "捡卡人头像")
    private String userImg;

    @ApiModelProperty(value = "0已删除 1捡卡 2已找回 3丢卡 4已补办")
    private String status;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "备注，丢失地点，放置地点等")
    private String remark;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "发布时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "完成时间")
    private Date completeTime;

    @ApiModelProperty(value = "丢卡人id")
    private String peopleId;

    @ApiModelProperty(value = "丢卡人昵称")
    private String peopleName;

    @ApiModelProperty(value = "丢卡人头像")
    private String peopleImg;

    @ApiModelProperty(value = "发布人id")
    private String meId;

}
